package com.ruoyi.framework.reptile.webmagic.jingcai.basketball;

import com.alibaba.fastjson.JSON;
import com.ruoyi.framework.reptile.webmagic.jingcai.basic.Root;
import com.ruoyi.framework.reptile.webmagic.jingcai.rank.cba.SinaCbaRankPipeline;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import us.codecraft.webmagic.ResultItems;
import us.codecraft.webmagic.Task;
import us.codecraft.webmagic.pipeline.Pipeline;

/**
 * @author dzl
 * @Description 篮球竞彩
 * @date 2024年07月09日 21:33:00
 */
public class JingCaiBasketBallShengFuPipeline implements Pipeline {

    private static final Logger log = LoggerFactory.getLogger(JingCaiBasketBallShengFuPipeline.class);

    @Override
    public void process(ResultItems resultItems, Task task) {
        String jcData = resultItems.get("jcData").toString();
        Root root = JSON.parseObject(jcData, Root.class);
    }
}
